Drop the :dnd syntax altogether
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 Dec 2015 03:24:58 +0000 (22:24 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 26 Dec 2015 03:58:28 +0000 (22:58 -0500)
This was only introduced a few weeks ago. We don't need to keep
this around, now that we support the proper CSS syntax.

gtk/gtkcssselector.c

index d5517e8a3ed4b715fb04bba24067b746c28c74cc..924637b7bd2f60efd389a287f3b07c171723c889 100644 (file)
@@ -745,7 +745,7 @@ print_pseudoclass_state (const GtkCssSelector *selector,
     "link",
     "visited",
     "checked",
-    "dnd"
+    "drop(active)"
   };
   guint i;
 
@@ -1192,8 +1192,7 @@ parse_selector_pseudo_class (GtkCssParser   *parser,
     { "link",         GTK_STATE_FLAG_LINK, },
     { "visited",      GTK_STATE_FLAG_VISITED, },
     { "checked",      GTK_STATE_FLAG_CHECKED, },
-    { "drop(active)", GTK_STATE_FLAG_DROP_ACTIVE, },
-    { "dnd",          GTK_STATE_FLAG_DROP_ACTIVE, }
+    { "drop(active)", GTK_STATE_FLAG_DROP_ACTIVE, }
 
   };
   guint i;